<%@ page language="java" import="java.util.*,com.gem.pojo.Users" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table width="600" height="200" border="1">
  <tr>
    <td>用户ID</td>
    <td>姓名</td>
    <td>地址</td>
    <td>电话</td>
    <td>性别</td>
    <td>金额</td>
  </tr>
  <%
			request.setCharacterEncoding("utf-8");
			List list=(List)request.getAttribute("alluser");
			Iterator it=list.iterator();
			while(it.hasNext()){
				Users u=(Users)it.next();
			%>
  <tr>
    <td><%=u.getUid()%></td>
    <td><%=u.getUname()%></td>
    <td><%=u.getUaddress()%></td>
    <td><%=u.getuPhone()%></td>
    <td><%=u.getUsex()%></td>
    <td><%=u.getUmoney()%></td>
  </tr>

	
			
	<%
			}
	%>
</table>
</body>
</html>